<form [formGroup]="form">
  @if (fieldsConfig()) {
    <formly-form
      [ngClass]="classes"
      [options]="options"
      [form]="form"
      [fields]="fieldsConfig()"
      [model]="model"
      (modelChange)="onModelChange($event)"
    />
  }
</form>
